
const constantRouterMap = [
  {
    path: '/layout',
    name:'layout',
    redirect: '/dashboard',
    component: resolve => require(['@/views/layout'], resolve),
    children: [
      {
        path: '/dashboard',
        component: resolve => require(['@/views/dashboard'], resolve)
      }
    ]
  },
  {
    path: '/blank',
    name: 'blank',
    component: resolve => require(['@/views/blank'], resolve),
  },
  {
    path: '/login',
    name: 'login',
    component: resolve => require(['@/views/login'], resolve),
    meta: { title: '登录' }
  },
  {
    path: '*',
    component: resolve => require(['@/views/error/404'], resolve),
  }
]

export default constantRouterMap

